option 2: To construct the packet's AH or ESP header